﻿using System.Web.Optimization;

namespace CIS.Web
{
	public class BundleConfig
	{
		// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
		public static void RegisterBundles(BundleCollection bundles)
		{
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                    "~/Scripts/jquery-{version}.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                    "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/easyui/datagrid-groupview").Include(
                    "~/Scripts/jquery-easyui-1.4.5/extensions/datagrid-groupview.js"));

            bundles.Add(new ScriptBundle("~/bundles/common").Include(
                    "~/Scripts/common.js",
                    "~/Scripts/sdmenu.js"));

            bundles.Add(new ScriptBundle("~/bundles/customvalidaterule").Include(
                    "~/Scripts/customValidateRule.js"));

            bundles.Add(new ScriptBundle("~/bundles/countdown").Include(
                    "~/Scripts/countdown.js"));

            bundles.Add(new ScriptBundle("~/bundles/echarts").Include(
                    "~/Scripts/ECharts/echarts.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                    "~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/stylecss").Include(
                    "~/Content/style.css"));
        }
	}
}